from __init__ import *

@fetch
def getMessageListTest():
    return (
        requests.get(
            url=Apis.message_get_message_list,
            params={
                "type" : "3"
            },
            headers={
                "token": "bf721d39-043c-455a-b903-7198d2633644" 
            }
        )
    )

@fetch
def readMessageTest():
    return (
        requests.get(
            url=Apis.message_read_message,
            params={
                "messageId": "3"
            },
            headers={
                "token" : "bf721d39-043c-455a-b903-7198d2633644"
            }
        )
    )

@fetch
def readAllMessageTest():
    return (
        requests.get(
            url=Apis.message_read_all_message,
            params={
                "type": "3"
            },
            headers={
                "token": "bf721d39-043c-455a-b903-7198d2633644"
            }
        )
    )
    

@fetch
def delMessageTest():
    return requests.get(
        url=Apis.message_del_message,
        params={
            "messageId" : "3"
        },
        headers={
            "token" : "bf721d39-043c-455a-b903-7198d2633644"
        }
    )

@fetch
def delAllMessageTest():
    return requests.get(
        url=Apis.message_del_all_message,
        params={
            "type": "3"
        },
        headers={
            "token": "bf721d39-043c-455a-b903-7198d2633644"
        }
    )

if __name__ == "__main__":
    pprint(delAllMessageTest())